1
general::
Coming close to success but failing is no better than failing by a lot, as in He was beaten by just one vote, but a miss is as good as a mile. This proverbial expression, first recorded in 1614, is a shortening of the older form, ‘‘An inch of a miss is as good [or bad] as a mile of a miss."
American Heritage Idioms